Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add canonical URL distributing caveat #415

Merged
merged 1 commit into from
Jul 17, 2019

Conversation

arsendovlatyan
Copy link
Contributor

@arsendovlatyan arsendovlatyan commented Jun 20, 2019

Related to #321

Description of the Change

Distributor plugin is modifying canonical URL of distributed post and pointing to original website. In some situations, for example when original post is in password-protected area, this behavior is unexpected.

Alternate Designs

I suggested to add an option in admin or hook, but @adamsilverstein suggests just remove applied filters and add a section in docs.

Benefits

Better documentation?

Possible Drawbacks

I don't see any

Verification Process

Ask colleagues to read the change. It's easy to understand.

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Applicable Issues

None

@jeffpaul jeffpaul added the needs:documentation This requires documentation. label Jun 21, 2019
@jeffpaul jeffpaul added this to the 1.5.0 milestone Jun 21, 2019
@jeffpaul jeffpaul self-requested a review June 21, 2019 13:48
Copy link
Member

@jeffpaul jeffpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks again @arsendovlatyan!

@adamsilverstein
Copy link

Thanks @arsendovlatyan - looks good to me, nice work!

@jeffpaul - I did notice when reviewing the text that we already use several distinct terms in the README to refer to distributed content - sometimes calling it "posts", sometimes "content" and sometimes "stories".

It might be worth creating a separate Issue to review and fine fine the language used here and in the plugin itself to make sure we are consistent.

@jeffpaul jeffpaul mentioned this pull request Jul 8, 2019
3 tasks
@helen helen merged commit 5bdff72 into 10up:develop Jul 17, 2019
jeffpaul added a commit that referenced this pull request Jul 17, 2019
@arsendovlatyan arsendovlatyan deleted the update/readme-canonical-url branch July 18, 2019 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:documentation This requires documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants